public class Method {
    public static void main(String[] args) {
        int sum = add(1, 2);
        System.out.println(sum);
    }

    public static int add(int n1, int n2) {
        int sum = n1 + n2;
        return sum;
    }
}
